
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题页</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/Style.css"/>
    <link type="text/css" href="__PUBLIC__/css/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<style type="text/css">
table{ padding:0px; margin:0px;}
th,tr,td {
	text-align: center;
	line-height: 28px;
	height: 28px;
}
th{
	background-image: url(__PUBLIC__/images/th_bg.jpg);
	background-color: #06C;
	}
table {border-collapse:collapse;}
th,td {vertical-align:middle;	border:1px dotted #DDD;	border-collapse:collapse;}
table td span{color:#999999;}
td{cursor:pointer;}
</style>
<script src="__PUBLIC__/libs/js/jquery.js"type="text/javascript"></script>

  <script type="text/javascript">
  /*$(document).ready(function(){
    $(".data_list tr").dblclick(function() {
     var id=$(this).attr('id');   
	 top.Dialog.open({URL:"__ROOT__/index.php/Custom/edit/id/"+id,Title:"客户业务备注",Width:850,Height:500});
    });
})*/

        /* 当鼠标移到表格上是，当前一行背景变色 */
      $(document).ready(function(){
            $(".data_list tr td").mouseover(function(){
                $(this).parent().find("td").css("background-color","#D6EDFF");
            });
      })
      /* 当鼠标在表格上移动时，离开的那一行背景恢复 */
      $(document).ready(function(){ 
            $(".data_list tr td").mouseout(function(){
                var bgc = $(this).parent().attr("bg");
                $(this).parent().find("td").css("background-color",bgc);
            });
      })
      
      $(document).ready(function(){ 
            var color="#F8F8F8"
            $(".data_list tr:odd td").css("background-color",color);  //改变偶数行背景色
            /* 把背景色保存到属性中 */
            $(".data_list tr:odd").attr("bg",color);
            $(".data_list tr:even").attr("bg","#fff");
      })
      </script>
</head>
<body>
    <div id="messWindow" class="messWindow"> </div>
    <div id="promptWindow" class="promptWindow" align="center">
        <div class="titleBar"></div>

    </div>
<ul class="tools">
<LI class=add p="50" style="cursor:pointer;"><SPAN><A onclick='top.Dialog.open({URL:"__URL__/addyewu",Title:"新增业务人员 ",Width:600,Height:440});'">新增业务人员</A></SPAN></li>
<LI class=add p="50" style="cursor:pointer;"><SPAN><A onclick='top.Dialog.open({URL:"__URL__/addjishu",Title:"新增技术人员 ",Width:600,Height:500});'">新增技术人员</A></SPAN></li>
    <li class="search">
        <select name="mark" id="mark">
            <option value="0">人员名称</option>
        </select>
        关键词：<input type="text" id="key" class="searchTitle" />
        <input type="button" value=" " class="searchInput" onclick="location='__ROOT__/index.php/Custom/search/mark/'+$('#mark').val()+'/key/'+$('#key').val();" />
    </li>
</ul>

        <div class="mainBox">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="data_list">
			<tr>
		  <th width="10%">用户名</td>
		  <th width="10%">姓名</th>
		  <th width="10%">联系电话</th>
		  <th width="10%">QQ</th>
                  <th width="10%">生日</th>
                  <th width="10%">工作岗位</th>
	          <th width="10%">操作</th>
		</tr>
    <volist name="accounts_list" id="vo">  
        <tr id="{$vo['id']}">
            <td>{$vo['username']}</td>
            <td>{$vo['rname']}</td>
            <td>{$vo['mobile']}</td>
            <td>{$vo['qq']}</td>
            <td>{$vo['birthday']}</td>
            <td><font color="red">{$vo['zhiwei']}</font></td>
            <td><a href="__URL__/useredit/id/{$vo['id']}">编辑</a>
            </td>
        </tr>
</volist> 
        </table>
		</div>
<div id="TourExPage" class="page">
{$page_method}
</div>
</body>
</html>
